package interfaces;

import domain.items.ThreadPacket;
import domain.items.TopicPacket;

public interface GUIVisitor {
	/**
	 * @param topics
	 * change the main view to show the new topics.
	 * for each topic we create a button, and put all the buttons in the MainView
	 */
	public void createItemsView(TopicPacket topics);
	
	/**
	 * @param topics
	 * change the main view to show the new thread.
	 * for each post in the thread we create a PostView and put
	 * all the PostViews we created in the MainView
	 */
	public void createItemsView(ThreadPacket thread);
}
